package com.example.myFirstWebmagic.airQualityForecasting;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.example.myFirstWebmagic.util.JsonObject;

/**
 * 
 * ClassName: AirqualityForecast 
 * @Description: 空气质量预报
 * @author xiongyao
 * @date 2017年3月13日
 */
@Entity
public class EnAirqualityForecast extends JsonObject {

//	 "CityCode": "110000",
//     "Name": "北京市",
//     "AirIndex_From": "",
//     "AirIndex_To": "",
//     "DetailInfo": "",
//     "Longitude": "116.4071591969",
//     "Latitude": "39.9046716842",
//     "PrimaryPollutant": "",
//     "Air48Index_From": "",
//     "Air48Index_To": "",
//     "Primary48Pollutant": "",
//     "Air72Index_From": "",
//     "Air72Index_To": "",
//     "Primary72Pollutant": "",
//     "IsPublish_72Hour": true
	
	
	@Id
	private AirqualityForecastPK id;
	
	/**
	 * 地市编码
	 */
	@Column
	private String CityCode;
	/**
	 * 地市名称
	 */
	@Column
	private String Name;
	/**
	 * 空气质量最低值
	 */
	@Column
	private String AirIndex_From;
	/**
	 * 空气质量最高值
	 */
	@Column
	private String AirIndex_To;
	/**
	 * 详细描述
	 */
	@Column(columnDefinition="TEXT")
	private String DetailInfo;
	/**
	 * 经度
	 */
	@Column
	private String Longitude;
	/**
	 * 纬度
	 */
	@Column
	private String Latitude;
	/**
	 * 主要污染物
	 */
	@Column
	private String PrimaryPollutant;
	/**
	 * 48小时空气质量最低值
	 */
	@Column
	private String Air48Index_From;
	/**
	 * 48小时空气质量最高值
	 */
	@Column
	private String Air48Index_To;
	/**
	 * 48小时空气污染物
	 */
	@Column
	private String Primary48Pollutant;
	/**
	 * 72小时空气质量最低值
	 */
	@Column
	private String Air72Index_From;
	/**
	 * 72小时空气质量最高值
	 */
	@Column
	private String Air72Index_To;
	/**
	 * 72小时空气污染物
	 */
	@Column
	private String Primary72Pollutant;
	/**
	 * 是否发布了72小时预报
	 */
	@Column
	private String IsPublish_72Hour;
	
	
	
	public AirqualityForecastPK getId() {
		return id;
	}
	public void setId(AirqualityForecastPK id) {
		this.id = id;
	}
	public String getCityCode() {
		return CityCode;
	}
	public void setCityCode(String cityCode) {
		CityCode = cityCode;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public String getAirIndex_From() {
		return AirIndex_From;
	}
	public void setAirIndex_From(String airIndex_From) {
		AirIndex_From = airIndex_From;
	}
	public String getAirIndex_To() {
		return AirIndex_To;
	}
	public void setAirIndex_To(String airIndex_To) {
		AirIndex_To = airIndex_To;
	}
	public String getDetailInfo() {
		return DetailInfo;
	}
	public void setDetailInfo(String detailInfo) {
		DetailInfo = detailInfo;
	}
	public String getLongitude() {
		return Longitude;
	}
	public void setLongitude(String longitude) {
		Longitude = longitude;
	}
	public String getLatitude() {
		return Latitude;
	}
	public void setLatitude(String latitude) {
		Latitude = latitude;
	}
	public String getPrimaryPollutant() {
		return PrimaryPollutant;
	}
	public void setPrimaryPollutant(String primaryPollutant) {
		PrimaryPollutant = primaryPollutant;
	}
	public String getAir48Index_From() {
		return Air48Index_From;
	}
	public void setAir48Index_From(String air48Index_From) {
		Air48Index_From = air48Index_From;
	}
	public String getAir48Index_To() {
		return Air48Index_To;
	}
	public void setAir48Index_To(String air48Index_To) {
		Air48Index_To = air48Index_To;
	}
	public String getPrimary48Pollutant() {
		return Primary48Pollutant;
	}
	public void setPrimary48Pollutant(String primary48Pollutant) {
		Primary48Pollutant = primary48Pollutant;
	}
	public String getAir72Index_From() {
		return Air72Index_From;
	}
	public void setAir72Index_From(String air72Index_From) {
		Air72Index_From = air72Index_From;
	}
	public String getAir72Index_To() {
		return Air72Index_To;
	}
	public void setAir72Index_To(String air72Index_To) {
		Air72Index_To = air72Index_To;
	}
	public String getPrimary72Pollutant() {
		return Primary72Pollutant;
	}
	public void setPrimary72Pollutant(String primary72Pollutant) {
		Primary72Pollutant = primary72Pollutant;
	}
	public String getIsPublish_72Hour() {
		return IsPublish_72Hour;
	}
	public void setIsPublish_72Hour(String isPublish_72Hour) {
		IsPublish_72Hour = isPublish_72Hour;
	}
	
	
	public EnAirqualityForecast() {
		
	}

    
	
}
